import $http from "./requst";
// 登陆
export const login = (data) =>
  $http({ url: "/admin/Login/login", method: "post", data });
// 所有用户
export const allUser = (data) =>
  $http({ url: "/admin/User", method: "post", data });

// 简历列表
export const Biographicalnotes = (data) =>
  $http({ url: "/admin/Biographicalnotes", method: "post", data });

// 简历状态更改
export const bookCheckStatus = (data) =>
  $http({ url: "/admin/Biographicalnotes/checkStatus", method: "post", data });

// 简历详情
export const bookDetails = (data) =>
  $http({ url: "/admin/Biographicalnotes/details", method: "post", data });

// 简历审核
export const bookExamineSave = (data) =>
  $http({ url: "/admin/Biographicalnotes/examineSave", method: "post", data });

// 简历审核列表
export const bookExamineRecord = (data) =>
  $http({
    url: "/admin/Biographicalnotes/examineRecord",
    method: "post",
    data,
  });

// 企业列表
export const Enterpriseapply = (data) =>
  $http({ url: "/admin/Enterpriseapply", method: "post", data });

// 企业状态更改
export const enterCheckStatus = (data) =>
  $http({ url: "/admin/Enterpriseapply/checkStatus", method: "post", data });

// 企业详情
export const enterDetails = (data) =>
  $http({ url: "/admin/Enterpriseapply/details", method: "post", data });

// 企业审核
export const enterExamineSave = (data) =>
  $http({ url: "/admin/Enterpriseapply/examineSave", method: "post", data });

// 企业审核列表
export const enterExamineRecord = (data) =>
  $http({
    url: "/admin/Enterpriseapply/examineRecord",
    method: "post",
    data,
  });

// 岗位列表
export const Enterpriseposition = (data) =>
  $http({
    url: "/admin/Enterpriseposition",
    method: "post",
    data,
  });

// 岗位审核操作
export const workExamineSave = (data) =>
  $http({
    url: "/admin/Enterpriseposition/examineSave",
    method: "post",
    data,
  });

// 岗位待审核列表
export const workExamineRecord = (data) =>
  $http({
    url: "/admin/Enterpriseposition/examineRecord",
    method: "post",
    data,
  });

// 需求列表
export const Projectdemand = (data) =>
  $http({
    url: "admin/Projectdemand",
    method: "post",
    data,
  });

// 需求审核操作
export const projectExamineSave = (data) =>
  $http({
    url: "/admin/Projectdemand/examineSave",
    method: "post",
    data,
  });

// 需求待审核列表
export const projectExamineRecord = (data) =>
  $http({
    url: "/admin/Projectdemand/examineRecord",
    method: "post",
    data,
  });

// 充值列表
export const Recharge = (data) =>
  $http({
    url: "/admin/Recharge",
    method: "post",
    data,
  });
// 统计
export const statistics = (data) =>
  $http({
    url: "/admin/Recharge/statistics",
    method: "post",
    data,
  });
// 账号列表
export const virtually_user = (data) =>
  $http({
    url: "/admin/User/virtually_user",
    method: "post",
    data,
  });

// 账号新增
export const virtually_userAdd = (data) =>
  $http({
    url: "/admin/User/add",
    method: "post",
    data,
  });

// 账号状态更改
export const virtually_userEdit = (data) =>
  $http({
    url: "/admin/User/checkStatus",
    method: "post",
    data,
  });
